package com.example.demo.service;

import com.example.demo.bean.Account;
import com.example.demo.bean.ClassGrade;

public interface AccountService {
    //public boolean isExist(String account_num);

    //public Account getByName(String account_num);

    public Account get(String account_num, String password);

    public Boolean addAccount(Account account);
    public Boolean updateAccount(Account accountToUpdate,Account newAccount);
    public Boolean deleteAccount(Account account);
    public Boolean setHeadTeacher(Account account, ClassGrade classGrade);

}
